/*
 * @Author: Jinsc
 * @Date: 2023-01-09 09:55:56
 * @LastEditors: Jinsc
 * @LastEditTime: 2023-01-09 10:54:07
 * @FilePath: \lvgl_pm\pm_anima.h
 * @Description: 
 * Copyright (c) 2023 by jinsc123654@gmail.com All Rights Reserved. 
 */
#ifndef LVLG_PM_ANIMA_H
#define LVLG_PM_ANIMA_H

#ifdef __cplusplus
extern "C" {
#endif

#ifdef LV_LVGL_H_INCLUDE_SIMPLE
#include "lvgl.h"
#else
#include "lvgl/lvgl.h"
#endif
#include "lvgl_app/lvgl_pm/lvgl_pm.h"

void lvgl_pm_anima_init(void);
typedef void (*lv_pm_anima_complete_cb)(lv_pm_page_t *pm_page, lv_pm_open_options_t options);

void _pm_anima_appear(lv_pm_page_t *pm_page, lv_pm_open_options_t *behavior, lv_pm_anima_complete_cb cb);

void _pm_anima_disAppear(lv_pm_page_t *pm_page, lv_pm_open_options_t *behavior, lv_pm_anima_complete_cb cb);
#ifdef __cplusplus
} /*extern "C"*/
#endif

#endif
